package com.zdsoft.wms.loadbalanceconfig;

import com.zdsoft.config.RibbonLoadBanlanceSqdCenterConfig;
import com.zdsoft.config.RibbonLoadBanlanceUserCenterConfig;
import org.springframework.cloud.netflix.ribbon.RibbonClient;
import org.springframework.cloud.netflix.ribbon.RibbonClients;
import org.springframework.context.annotation.Configuration;

/*
* 这个是针对 micro-order服务的 ribbon配置
* */
@Configuration
@RibbonClients(value = {
        @RibbonClient(name = "user-center",configuration = RibbonLoadBanlanceUserCenterConfig.class),
        @RibbonClient(name = "sqd-center",configuration = RibbonLoadBanlanceSqdCenterConfig.class)
})
public class LoadBalanceConfig {

}
